﻿

namespace Mulala.Cavan.Domain.MainBoundedContext.SearchModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class CorporationCommentSearchFactory
    {
        public static CorporationCommentSearch CreateCorporationCommentSearch(int corporationID, IDictionary<string, bool> orderBy, int currentPage, int maxRowsPerPage)
        {
            CorporationCommentSearch search = new CorporationCommentSearch();
            search.CorporationID = corporationID;
            search.OrderBy = orderBy;
            search.CurrentPage = currentPage;
            search.MaxRowsPerPage = maxRowsPerPage;

            return search;
        }
    }
}
